GskTransform: Remove unused function from private header
authorTimm Bäder <mail@baedert.org>
Fri, 24 Jul 2020 15:48:54 +0000 (17:48 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 28 Jul 2020 03:34:12 +0000 (05:34 +0200)
We only use this in gsktransform.c

gsk/gsktransform.c
gsk/gsktransformprivate.h

index aed9eae994d5c67503d9cef83b21a895f77a5044..eabdd7861f43e03a66299831c80e0ab6906e99cf 100644 (file)
@@ -93,6 +93,10 @@ G_DEFINE_BOXED_TYPE (GskTransform, gsk_transform,
 
 static gboolean
 gsk_transform_is_identity (GskTransform *self);
+static GskTransform *
+gsk_transform_matrix_with_category (GskTransform           *next,
+                                    const graphene_matrix_t*matrix,
+                                    GskTransformCategory    category);
 
 static inline gboolean
 gsk_transform_has_class (GskTransform            *self,
@@ -448,7 +452,7 @@ static const GskTransformClass GSK_TRANSFORM_TRANSFORM_CLASS =
   gsk_matrix_transform_equal,
 };
 
-GskTransform *
+static GskTransform *
 gsk_transform_matrix_with_category (GskTransform            *next,
                                     const graphene_matrix_t *matrix,
                                     GskTransformCategory     category)
index a276a640b3c2825f610da3c52c37886bd9fa4d96..79dfbf03b8301f0f65f801e50b17137abfcb7d89 100644 (file)
 
 #include "gsktransform.h"
 
-#include "gsk/gskrendernodeprivate.h"
-
 #include <gtk/css/gtkcss.h>
 #include "gtk/css/gtkcssparserprivate.h"
 
 G_BEGIN_DECLS
 
-GskTransform *          gsk_transform_matrix_with_category      (GskTransform           *next,
-                                                                 const graphene_matrix_t*matrix,
-                                                                 GskTransformCategory    category);
 
 gboolean                gsk_transform_parser_parse              (GtkCssParser           *parser,
                                                                  GskTransform          **out_transform);